/**
 * 
 */
package com.gr.staffpm.pages.schedule.model;

import java.io.Serializable;

import org.joda.time.DateTime;


/**
 * @author Graham Rhodes 26 Apr 2011 01:45:29
 */
public class Event implements Serializable {

    private static final long serialVersionUID = 1L;
    private int id;
    private int cid;
    private String title;
    private DateTime start;
    private DateTime end;
    private boolean ad;

    public Event() {
    }

    public Event(int id, int cid, String title, DateTime start, DateTime end, boolean ad) {
        this.id = id;
        this.cid = cid;
        this.title = title;
        this.start = start;
        this.end = end;
        this.ad = ad;
    }


    public int getId() {
        return id;
    }


    public void setId(int id) {
        this.id = id;
    }


    public int getCid() {
        return cid;
    }


    public void setCid(int cid) {
        this.cid = cid;
    }


    public String getTitle() {
        return title;
    }


    public void setTitle(String title) {
        this.title = title;
    }


    public DateTime getStart() {
        return start;
    }


    public void setStart(DateTime start) {
        this.start = start;
    }


    public DateTime getEnd() {
        return end;
    }


    public void setEnd(DateTime end) {
        this.end = end;
    }


    public boolean isAd() {
        return ad;
    }


    public void setAd(boolean ad) {
        this.ad = ad;
    }

}
